import { http } from "@/utils/http";
import { baseUrlApi, type ListResult } from "@/utils/apiPublic";

export const getAsyncRoutes = (data?: object) => {
  return http.request<ListResult>("post", baseUrlApi("admin/menu/route"), {
    data
  });
};
